import { browserStorage } from "./js";

const storage = browserStorage();

storage.setItem(
  "info",
  [
    {
      username: "zs",
      token: "123456",
      userinfo: { type: 1 },
    },
  ],
  5000
);

setInterval(async () => {
  console.log(await storage.getItem("info"));
}, 1000);
